From 15a102658d4dd84598e4bc59511822880e0c2754 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Tue, 13 May 2008 08:13:13 +0000 Subject: [PATCH] (handle_one_xevent): Don't pass buttons higher than 3 to Gtk+ menus. --- src/xterm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 3b625b0d662..89cf06c05e0 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -6848,6 +6848,8 @@ handle_one_xevent (dpyinfo, eventp, finish, hold_quit) if ( #ifdef USE_GTK ! popup_activated () + /* Gtk+ menus only react to the first three buttons. */ + && event.xbutton.button < 3 && #endif f && event.type == ButtonPress -- 2.30.2